Xbasic

CHR_MULTI Function

Syntax

Result_String as C = chr_multi(N ascii_value ,N count )

Arguments

ascii_value

The ASCII value of a character. Numeric

count

The number of times to repeat the character. Numeric

Returns

Result_StringCharacter

A string with Count repetitions of the character specified by ASCII_Value.

Description

Generates a string using the specified ASCII value repeated multiple times.

Discussion

The CHR_MULTI() function produces a string with Count repetitions of the character specified by ASCII_Value.

Example

? chr_multi(78, 12)
= "NNNNNNNNNNNN"

See Also